package cn.watson.system.mapper;

import cn.watson.basic.mapper.BaseMapper;
import cn.watson.system.domain.Detail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DetailMapper extends BaseMapper<Detail> {

    // 根据TypeId查询
    List<Detail> loadByTypeId(Long types_id);

    void removeByTypeId(Long types_id);

}
